<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<div id="app">
    {{message}}
    <h2>{{url}}</h2>
    <h2>{{url1}}</h2>
    <h2 v-html="url"></h2>
</div>

<script src="../js/vue.js"></script>
<script>
    const vue = new Vue({
        el:'#app',
        data:{
            message:'你好呀',
            url:'<a href="www.baidu.com">百度一下</a>',
            url1:'www.baidu.com'
        }
    })
</script>


</body>
</html>